const getters = {
  sidebar: state => state.app.sidebar,
  themeCss:state=>state.app.themeCss,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  username: state => state.user.username,
  name: state => state.user.name,
  id: state => state.user.id,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  tenantList: state => state.user.tenantList,//用户所属的租户列表
  selectedTenantId: state => state.user.selectedTenantId,// 用户当前选中的tenant
  permissionCodes: state => state.user.permissionCodes,
  permission_routes: state => state.permission.routes,
  dataDic: state => state.user.dataDic, //app的数据字典
  errorLogs: state => state.errorLog.logs
}
export default getters
